﻿ALTER TABLE [dbo].[UserProfileSet]
    ADD CONSTRAINT [FK_DeptUserProfile] FOREIGN KEY ([DeptId]) REFERENCES [dbo].[DeptSet] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION;

